cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
↳ QTRS
↳ AAECC Innermost
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x, y) → cond(gr(x, y), y, x)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
COND(true, x, y) → GR(x, y)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y) → COND(gr(x, y), y, x)
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND(true, x, y) → GR(x, y)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y) → COND(gr(x, y), y, x)
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
COND(true, x, y) → COND(gr(x, y), y, x)
cond(true, x, y) → cond(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, x, y) → COND(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
cond(true, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
cond(true, x0, x1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
COND(true, x, y) → COND(gr(x, y), y, x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
(1) (COND(gr(x0, x1), x1, x0)=COND(true, x2, x3) ⇒ COND(true, x2, x3)≥COND(gr(x2, x3), x3, x2))
(2) (gr(x0, x1)=true ⇒ COND(true, x1, x0)≥COND(gr(x1, x0), x0, x1))
(3) (true=true ⇒ COND(true, 0, s(x5))≥COND(gr(0, s(x5)), s(x5), 0))
(4) (gr(x6, x7)=true∧(gr(x6, x7)=true ⇒ COND(true, x7, x6)≥COND(gr(x7, x6), x6, x7)) ⇒ COND(true, s(x7), s(x6))≥COND(gr(s(x7), s(x6)), s(x6), s(x7)))
(5) (COND(true, 0, s(x5))≥COND(gr(0, s(x5)), s(x5), 0))
(6) (COND(true, x7, x6)≥COND(gr(x7, x6), x6, x7) ⇒ COND(true, s(x7), s(x6))≥COND(gr(s(x7), s(x6)), s(x6), s(x7)))
POL(0) = 0
POL(COND(x1, x2, x3)) = -1 - x1 - x2 + x3
POL(c) = -1
POL(false) = 0
POL(gr(x1, x2)) = 0
POL(s(x1)) = 1 + x1
POL(true) = 0
The following pairs are in Pbound:
COND(true, x, y) → COND(gr(x, y), y, x)
The following rules are usable:
COND(true, x, y) → COND(gr(x, y), y, x)
true → gr(s(x), 0)
false → gr(0, x)
gr(x, y) → gr(s(x), s(y))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ NonInfProof
↳ QDP
↳ PisEmptyProof
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))